lcEntGetDist | Home |
double lcEntGetDist ( HANDLE hEnt, double X, double Y, double* pX2, double* pY2, double* pDist ); |
hEnt | |
Handle to an entity. | |
X Y | |
Off-curve point. | |
pX2 pY2 | |
Pointers to variables that will receive coordinates of the found on-curve point (which is nearest to X,Y) | |
pDist | |
Pointer to variable that will receive the distance from beginning of a polyline to found point. |
Distance between given point (X,Y) and found point (X2,Y2). |
Code sample, lcEntGetPoint |